package com.LJH.WebTask4.mybatis.entity;

import lombok.Data;

@Data
public class Book {
    private int index;
    private String name;
    private String author;
    private String press;
    private String publicDate;
    private int surplus;

    public Book() {
    }

    public Book(String name, String author, String press, String publicDate, int surplus) {
        this.name = name;
        this.author = author;
        this.press = press;
        this.publicDate = publicDate;
        this.surplus = surplus;
    }
}
